#include "CPolygon.h"
#include "Crectangle1.h"
#include "CTriangle.h"
#include<conio.h>
int main()
{
	Crectangle rect;
	CTriangle trgl;
	rect.setValues(4, 5);
	trgl.setValues(4, 5);
	cout << rect.area()<< endl;
	cout << trgl.area() << endl;
	_getch();
	return 0;
}